<template>
  <div id="Appbox">
    <router-view></router-view>
  </div>
</template>
<script setup>
const router = useRouter()
// console.log(router)
import autofit from "@/utils/autofit.js" //屏幕
onMounted(() => {
  autofit.init(
    {
      dw: 1920,
      dh: 1080,
      el: "#Appbox",
      resize: true
    },
    false
  ) // 可关闭控制台运行提示输出
})
</script>
<style scoped>
.App-box {
  width: 100%;
  height: 100%;
}
</style>
